import request from '@/utils/request'

// 查询计收模式管理列表
export function listWiFeemodeY(query) {
  return request({
    url: '/waterPrice/WiFeemodeY/list',
    method: 'get',
    params: query
  })
}

// 查询计收模式管理详细
export function getWiFeemodeY(modeYr) {
  return request({
    url: '/waterPrice/WiFeemodeY/' + modeYr,
    method: 'get'
  })
}

// 新增计收模式管理
export function addWiFeemodeY(data) {
  return request({
    url: '/waterPrice/WiFeemodeY',
    method: 'post',
    data: data
  })
}

// 修改计收模式管理
export function updateWiFeemodeY(data) {
  return request({
    url: '/waterPrice/WiFeemodeY',
    method: 'put',
    data: data
  })
}

// 删除计收模式管理
export function delWiFeemodeY(modeYr) {
  return request({
    url: '/waterPrice/WiFeemodeY/' + modeYr,
    method: 'delete'
  })
}
